<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Aloha</title>
<script>

function sayIt(translator) {
	var phrase = translator("Hello");
	alert(phrase);
}

function hawaiianTranslator(word) {
	if (word === "Hello") return "Aloha";
	if (word === "Goodbye") return "Aloha";
}

sayIt(hawaiianTranslator);

</script> 
</head> 
<body> </body>
</html>

